package com.xinnet.mms.web;

import org.acegisecurity.providers.encoding.MessageDigestPasswordEncoder;

public class Test {

	public static void main(String[] args) {
		// TODO 自动生成的方法存根
		
			MessageDigestPasswordEncoder mdpeSha = new MessageDigestPasswordEncoder("SHA-256"); 
			mdpeSha.setEncodeHashAsBase64(false);
			System.out.println(mdpeSha.encodePassword("aaaaaa", null));
		
	}

}
